package com.feicheng.persistence.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.feicheng.persistence.entity.DepositRecord;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
@Data
@EqualsAndHashCode(callSuper = false)
public class DepositRecordMain extends DepositRecord {
    private static final long serialVersionUID = 1L;

    private Integer storeId;

    /**
     * 支付平台支付编号
     */
    private String originalCode;

    /**
     * 客户名称
     */
    private String clientName;

    /**
     * 门店名称
     */
    private String name;

    private Integer clientId;

    private Integer payId;

    private Boolean payFlg;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime st;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime et;
    
    private String statu;

}
